package priv.yiyuan.example.design.strategy;

import priv.yiyuan.example.design.strategy.drawing.DrawingStrategy;

/**
 * 圆形
 * <p>
 * 抽象部分子类
 *
 * @author YiYuan
 * @data 2025/8/11
 * @apoNote
 */
public class CircleBridgeWithStrategy extends ShapeBridgeWithStrategy {

    public CircleBridgeWithStrategy(ColorWithStrategy color, DrawingStrategy drawingStrategy) {
        super(color, drawingStrategy);
    }

    @Override
    public void draw() {
        System.out.println("绘制一个 ");
        color.applyColor(drawingStrategy, "圆形");
    }

}
